import { Serialize, SerializeClass } from "../../../core/serialize";
import { UniqueObject, UniqueObjectConfig } from "../../../core/unique_class";

export enum CharGender {
    Male = "Male",
    Female = "Female",
};

@SerializeClass("CharacterConfig")
export class CharacterConfig extends UniqueObjectConfig {
    @Serialize()
    name = "";
    @Serialize()
    age = "";
    @Serialize()
    gender = CharGender.Male;
};

//阶段0

@SerializeClass("Character")
export class Character extends UniqueObject<CharacterConfig> {
    talk() {

    }
};